package com.naiterui.ehp.bp.constants;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @Description 公共常量
 */
@SuppressWarnings("unused")
public enum CommonConstantEnum {

    /**
     * 性别：女
     */
    GENDER_FEMALE(0, "女"),
    /**
     * 性别：男
     */
    GENDER_MALE(1, "男"),
    /**
     * 性别：未知
     */
    GENDER_UNKNOWN(2, "未知");

    private Integer id;
    private String name;

    CommonConstantEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
